<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:74:"/var/www/html/CRM/public/../application/admin/view/jobp/student_board.html";i:1541154366;}*/ ?>
﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>就业部</title>
<link rel="stylesheet" type="text/css" href="/admin/css/css.css" />
<link rel="stylesheet" type="text/css" href="/admin/css/laydate.css" />
	<link rel="stylesheet" type="text/css" href="/CRM/public/css/laydate.css" />
	<link rel="stylesheet" type="text/css" href="/admin/css/manhuaDate.1.0.css">
	<!--<link rel="stylesheet" type="text/css" href="/CRM/public/layer/theme/default/layer.css">-->
	<script type="text/javascript" src="/admin/js/jquery.min.js"></script>
<script type="text/javascript" src="/admin/js/laydate.js"></script>
	<script type="text/javascript" src="/admin/js/layer/layer.js"></script>
</head>
<style>
     .vsAdd{
		 display: inline-block;
		 width: 70px;
		 height: 25px;
		 background-color: #2a9cdd;
		 line-height: 25px;
		 color: #fff;
		 cursor: pointer;
		 text-align: center;
	 }
	 .submit{
		 display: inline-block;
		 border: none;
		 outline: none;
		 width: 70px;
		 height: 30px;
		 background-color: #cccccc;
		 line-height: 25px;
		 color: #fff;
		 cursor: pointer;
		 text-align: center;
	 }
	 .buttone{
		display: inline-block;
		padding: 1% 1.5%;
		color: white;
		background: #47a4e1;
		border: none;
		border-radius: 4px;
	}
	td{
		padding:10px 0;
	}
</style>
<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="/admin/img/coin02.png" /><span><a href="#">首页</a>&nbsp;-&nbsp;<a
					href="#">就业部</a>&nbsp;-</span>&nbsp;就业部PHP
			</div>
		</div>

		<div class="page">
			<!-- banner页面样式 -->
			<div class="connoisseur">
				<div class="conform">
					<div style="float:left">
						<div class="cfD">
							<a class="button" style="display:block;border-radius:5px;text-align:center;line-height:30px;width:100px" href="<?php echo url('admin/jobp/jobp'); ?>">返回列表</a >
						</div>
					</div>
					<div style="float:left">
						<div class="cfD">
							<a class="button" style="display:block;border-radius:5px;text-align:center;line-height:30px;width:100px" href="<?php echo url('admin/excel/run_out',['job_group_id'=>$job_group_id]); ?>">导出信息</a >
						</div>
					</div>
					<form style="float:left;margin-left:20px;">
						<div class="cfD">
							<?php echo $find_product['pro_name']; ?><label> &nbsp;</label><br/>
							<?php echo $find_product['pro_name']; ?>当月就业人数：<label> &nbsp;<?php echo $select_person_one; ?></label><br/>
							<!--已通过<label class="lar">&nbsp;</label>-->
							<?php echo $find_product['pro_name']; ?>当月求职中人数：<label> &nbsp;<?php echo $select_person_two; ?></label><br/>
							<?php echo $find_product['pro_name']; ?>当月自主就业人数：<label> &nbsp;<?php echo $select_person_three; ?></label><br/>
						</div>
					</form>
						
						<div class="cfD" style="float:right;margin-top:30px;">
							<form action="<?php echo url('admin/jobp/student'); ?>" method="post">
							筛选入职时间：<input   class="vinput laydate-icon input3" autocomplete="off" placeholder="" name="start" type="text" id="start"/>&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;筛选入职截止时间：
								<input class="vinput laydate-icon" name="end" autocomplete="off" type="text" id="end"/>
								&nbsp;&nbsp;&nbsp;&nbsp;
								<input type="submit" value="OK" class="submit"/>
								<input type="hidden" value="<?php echo $job_group_id; ?>" name="job_group_id" />
							</form>
						</div>

					<div style="clear: both"></div>
				</div>
				<!-- banner 表格 显示 -->
				<div class="conShow">
					<table border="1" cellspacing="0" cellpadding="0">
						<tr>
							<td width="66px" class="tdColor tdC">序号</td>
							<td width="130px" class="tdColor">姓名</td>
							<td width="130px" class="tdColor">就业公司</td>
							<td width="130px" class="tdColor">就业薪资</td>
							<td width="130px" class="tdColor">入职时间</td>
							<td width="130px" class="tdColor">岗位名</td>
							<td width="130px" class="tdColor">备注</td>
							<td width="130px" class="tdColor">状态</td>
							<td width="130px" class="tdColor">简历</td>
							<td width="130px" class="tdColor">操作</td>
						</tr>
						<?php foreach($select_job as $k=>$v): ?>
						<tr>
							<td><?php echo $k+1; ?></td>
							<td><?php echo $v['job_name']; ?></td>
							<td><?php echo $v['job_company']; ?></td>
							<td><?php echo $v['job_person_money']; ?></td>
							<td><?php echo date('Y/m/d',$v['job_getjob_time']); ?></td>
							<td><?php echo $v['job_work_name']; ?></td>
							<td><?php echo $v['job_work_text']; ?></td>
							<td><?php switch($v['job_getjob_sn']): case "1": ?>结业<?php break; case "2": ?>就业<?php break; case "3": ?>求职中<?php break; case "4": ?>自主就业<?php break; endswitch; ?></td>
							<td>
								<?php if($v['job_resume_pdf']==''): ?>
								<a class="word" href="javascript:;">
									<img src="/admin/img/document-word.png" alt="简历"/>
								</a>
								<?php else: ?><a target="_blank" href="<?php echo url('admin/excelud/pdf_preview'); ?>?pdf_name='<?php echo $v['job_id']; ?>'">
								<img src="/admin/img/document-word-tick.png" alt="简历"/></a>
								<?php endif; ?>
							
							</td>

							<td class="td">
							<a href="<?php echo url('admin/jobp/student_alter',['job_id' => $v['job_id']]); ?>"><button class="buttone" style="position:relative; z-index: -1">修改</button></a>
							<a class="a" href="javascript:;" ><button value="<?php echo $v['job_id']; ?>"  class="buttone" style="position:relative; z-index: -1">查看详情</button></a>
							</td>
						</tr>
						<?php endforeach; ?>
					</table>
					
					<script>
						$('.td').on('click','.a',function(){
						var job_id = $(this).find('button').val()
							layer.open({
							  type: 2, 
							  shadeClose: true,
								shade: 0.5,
								area: ['800px', '600px'],
								content: "http://lm.mingdaima.com/admin/open/test/job_id/"+job_id,
							});
						})
					</script>
					<!--<div class="paging">此处是分页</div>-->
				</div>
				<!-- banner 表格 显示 end-->
			</div>
			<!-- banner页面样式end -->
		</div>

	</div>

	<!-- 删除弹出框 -->
	<div class="banDel">
		<div class="delete">
			<div class="close">
				<a><img src="/admin/img/shanchu.png" /></a>
			</div>
			<p class="delP1">你确定要删除此条记录吗？</p>
			<p class="delP2">
				<a href="#" class="ok yes">确定</a><a class="ok no">取消</a>
			</p>
		</div>
	</div>
	<!-- 删除弹出框  end-->
</body>

<script type="text/javascript">
// 广告弹出框
$(".delban").click(function(){
  $(".banDel").show();
});
$(".close").click(function(){
  $(".banDel").hide();
});
$(".no").click(function(){
  $(".banDel").hide();
});
// 广告弹出框 end
</script>
<script type="text/javascript">
    !function(){
        laydate.skin('molv');//切换皮肤，请查看skins下面皮肤库
        laydate({elem: '#demo'});//绑定元素
    }();

    //日期范围限制
    var start = {
        elem: '#start',
        format: 'YYYY-MM-DD',
        min: '1990-01-01', //设定最小日期为当前日期
        max: '2099-06-16', //最大日期
        istime: true,
        istoday: false,
        choose: function(datas){
            end.min = datas; //开始日选好后，重置结束日的最小日期
            end.start = datas //将结束日的初始值设定为开始日
        }
    };

    var end = {
        elem: '#end',
        format: 'YYYY-MM-DD',
        min: '1990-01-01',
        max: '2099-06-16',
        istime: true,
        istoday: false,
        choose: function(datas){
            start.max = datas; //结束日选好后，充值开始日的最大日期
        }
    };
    laydate(start);
    laydate(end);

    //自定义日期格式
    laydate({
        elem: '#test1',
        format: 'YYYY年MM月DD日',
        festival: true, //显示节日
        choose: function(datas){ //选择日期完毕的回调
            alert('得到：'+datas);
        }
    });

    //日期范围限定在昨天到明天
    laydate({
        elem: '#hello3',
        min: laydate.now(-1), //-1代表昨天，-2代表前天，以此类推
        max: laydate.now(+1) //+1代表明天，+2代表后天，以此类推
    });
</script>

</html>